<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="<?php echo __URL_BASE ?>js/jquery-1.8.3.min.js" type="text/javascript"></script>
<link href="<?php echo __URL_BASE ?>css/bootstrap.css" rel="stylesheet" type="text/css">
</head>

<body>
<div class="container">
<!--<legend>Sign Up</legend>-->
<div class="well">
      <form id="signup" class="form-horizontal" method="post" action="<?php echo __URL_BASE.'index.php?rt=user/login' ?>">
        <legend>Đăng nhập</legend>
        <div class="control-group">
        	<span style="color:red;font-size:13px;">
				<?php if(isset($message)) echo $message; ?>
				<?php if(isset($_REQUEST['request']) && $_REQUEST['request']=='login') echo 'Bạn phải đăng nhập để thực hiện chức năng này'; ?>
			</span>
        </div>
        <div class="control-group">
            <label class="control-label">Tên đăng nhập</label>
            <div class="controls">
                <div class="input-prepend">
                <span class="add-on"><i class="icon-user"></i></span>
                    <input type="text" class="input-xlarge" id="username" name="username" placeholder="Nhập tên đăng nhập" required="required" autocomplete="off">
                </div>
            </div>
        </div>
         <div class="control-group">
            <label class="control-label">Password</label>
            <div class="controls">
                <div class="input-prepend">
                <span class="add-on"><i class="icon-lock"></i></span>
                    <input type="Password" id="passwd" class="input-xlarge" name="passwd" placeholder="Nhập mật khẩu" required="required" autocomplete="off">
                </div>
                
            </div>
        </div>
        <div class="control-group">
        <label class="control-label"></label>
          <div class="controls">
           <button type="submit" class="btn btn-success" >Đăng nhập</button>
          </div>
    </div>
      </form>
   </div>
</div>

</body>
</html>